-
-
Notifications
You must be signed in to change notification settings - Fork 213
[ENH] V1 -> V2 Migration : Runs #1616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
Signed-off-by: Omswastik-11 <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1616 +/- ##
==========================================
- Coverage 52.04% 49.31% -2.73%
==========================================
Files 36 50 +14
Lines 4333 4921 +588
==========================================
+ Hits 2255 2427 +172
- Misses 2078 2494 +416 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Omswastik-11 <[email protected]>
…-11/openml-python into runs-migration-stacked
…u040/openml-python into runs-migration-stacked # Conflicts: # openml/_api/resources/__init__.py # openml/_api/runtime/core.py
…into runs-migration-stacked
…into runs-migration-stacked
geetu040
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sync with base pr
sdk code look good so far, please take a look at #1575 (comment) and make changes accordingly where needed.
all tests (existing and new) should pass to make sure we are retaining the original functionality of the sdk
Signed-off-by: Omswastik-11 <[email protected]>
…into runs-migration-stacked
Signed-off-by: Omswastik-11 <[email protected]>
Signed-off-by: Omswastik-11 <[email protected]>
…-11/openml-python into runs-migration-stacked
Signed-off-by: Omswastik-11 <[email protected]>
Signed-off-by: Omswastik-11 <[email protected]>
Signed-off-by: Omswastik-11 <[email protected]>
Signed-off-by: Omswastik-11 <[email protected]>
| use_cache = not ignore_cache | ||
| reset_cache = ignore_cache | ||
| return api_context.backend.runs.get( | ||
| run_id, | ||
| use_cache=use_cache, | ||
| reset_cache=reset_cache, | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use_cache should be true since the method always supports caching
reset_cache should rely on ignore_cache
Metadata
Details
fixes #1624